===========================================================================
 IN THE HUNT NEO - constructeur de ROM / ROM builder
 Portage de fan sur Neo Geo - Neo Geo fan port
===========================================================================

[FR] -----------------------------------------------------------------------

Cet outil construit le portage Neo Geo d'In The Hunt a partir de VOTRE
propre romset MAME du jeu arcade original. Il ne contient AUCUNE donnee du
jeu original (ni code, ni graphismes, ni musique) : seulement le travail du
portage (programme 68000 recrit en C, pilote son, logo) et les informations
necessaires pour reconstruire le reste chez vous a partir de vos fichiers :
les graphismes sont recopies depuis vos ROM, les sons sont enregistres dans
votre MAME.

Version 1.2 : tout le jeu est porte, les six stages jusqu'a la fin, a un ou
deux joueurs, avec les demonstrations de l'ecran titre. Quelques passages
ralentissent quand l'ecran est tres charge. Vos retours sont les bienvenus
(sur le blog).

Nouveau dans la 1.2 :
  - ecran STAGE CLEAR complet : bonus de chaque joueur, medaille, deux
    panneaux a deux joueurs ;
  - fin speciale a deux joueurs : le duel final et ses deux issues ;
  - la date du briefing avance d'un stage a l'autre.

Nouveau dans la 1.1 :
  - fondus de palette fideles a l'original (le fondu au noir durait plus de
    5 secondes, l'ecran ne s'allume plus une trame trop tot) ;
  - jeu plus fluide dans les passages charges (+8 a 20 % de trames) ;
  - les vagues du stage 3 ne disparaissent plus quand l'ecran est charge ;
  - compte a rebours du CONTINUE sans morceaux decales ;
  - les grands objets ne reapparaissent plus au bord oppose de l'ecran ;
  - resistance des ennemis et des boss identique a l'original selon le
    niveau de vos armes.

Ce qu'il faut :
  - Windows, et Python 3.9 ou plus (https://www.python.org/downloads/,
    cocher "Add python.exe to PATH" a l'installation) ;
  - MAME (version 0.250 ou plus recente ; teste avec 0.289) ;
  - la romset MAME "inthunt" (In The Hunt, World) : inthunt.zip ;
  - le BIOS Neo Geo de MAME : neogeo.zip (seul sfix.sfix est utilise).

Utilisation :
  1. Placez inthunt.zip et neogeo.zip dans ce dossier (sinon l'outil les
     cherche dans le dossier roms de MAME, puis demande leur chemin).
  2. Double-cliquez sur "Construire - Build.bat".
     Si MAME n'est pas dans C:\MAME, l'outil demande le chemin de mame.exe.
  3. Patientez (quelques minutes : les sons sont enregistres dans MAME a
     partir du jeu original, puis encodes pour la Neo Geo).

Resultat, dans le dossier "output" :
  - neosd_mister.zip : fichier .neo pour NeoSD et MiSTer (core Neo Geo)
  - darksoft.zip     : cartouche Darksoft
  - backbit.zip      : BackBit Platinum MVS
  - mame\ithneo      : ROMs pour MAME (romset "ithneo", liste logicielle
                       neogeo : voir backbit.zip\ithneo\neogeo.xml)

Au demarrage, un ecran OPTIONS permet de choisir le nombre de vies (2 a 5),
le continue, le stage de depart, le tir automatique et la difficulte.
Pendant la partie, SELECT met en pause ; un deuxieme joueur peut entrer a
tout moment avec START 2.

L'outil verifie chaque ROM construite (empreinte SHA-1). Si votre version de
MAME n'est pas la meme que la mienne, le son peut differer tres legerement :
c'est signale, et le jeu reste jouable.

Ligne de commande (autres systemes, ou options) :
  python builder.py --romset chemin\inthunt.zip --bios chemin\neogeo.zip
                    --mame chemin\mame.exe

Mentions : projet de fan non commercial, sans lien avec Irem ni avec les
ayants droit d'In The Hunt. In The Hunt (c) Irem. Les ROMs produites sont
pour votre usage personnel : ne les distribuez pas, ne vendez pas de repros.
adpcmtool.py : ngdevkit (c) Damien Ciabrini, licence LGPL-3 (lib\).

[EN] -----------------------------------------------------------------------

This tool builds the Neo Geo port of In The Hunt from YOUR OWN MAME romset
of the original arcade game. It contains NO data from the original game (no
code, graphics or music): only the port's own work (68000 program rewritten
in C, sound driver, logo) and the information needed to rebuild the rest on
your computer from your files: graphics are copied from your ROMs, sounds
are recorded in your MAME.

Version 1.2: the whole game is ported, all six stages up to the ending, for
one or two players, with the title screen demos. A few busy scenes slow
down. Feedback is welcome (on the blog).

New in 1.2:
  - full STAGE CLEAR screen: each player's bonuses, medal, two panels in
    two-player games;
  - special two-player ending: the final duel and both its outcomes;
  - the briefing date advances from one stage to the next.

New in 1.1:
  - palette fades match the original (the fade to black lasted over
    5 seconds; screens no longer light up one frame too early);
  - smoother game in busy scenes (8 to 20% more frames);
  - stage 3 waves no longer vanish when the screen is busy;
  - CONTINUE countdown without misplaced pieces;
  - large objects no longer reappear on the opposite screen edge;
  - enemy and boss toughness now matches the original, depending on your
    weapon levels.

You need:
  - Windows, and Python 3.9 or newer (https://www.python.org/downloads/,
    tick "Add python.exe to PATH" during setup);
  - MAME (0.250 or newer; tested with 0.289);
  - the MAME "inthunt" romset (In The Hunt, World): inthunt.zip;
  - the MAME Neo Geo BIOS: neogeo.zip (only sfix.sfix is used).

How to use:
  1. Put inthunt.zip and neogeo.zip in this folder (otherwise the tool
     looks in MAME's roms folder, then asks for their path).
  2. Double-click "Construire - Build.bat".
     If MAME is not in C:\MAME, the tool asks for the path to mame.exe.
  3. Wait (a few minutes: sounds are recorded in MAME from the original
     game, then encoded for the Neo Geo).

Output, in the "output" folder:
  - neosd_mister.zip : .neo file for NeoSD and MiSTer (Neo Geo core)
  - darksoft.zip     : Darksoft cartridge
  - backbit.zip      : BackBit Platinum MVS
  - mame\ithneo      : ROMs for MAME ("ithneo" set, neogeo software list:
                       see backbit.zip\ithneo\neogeo.xml)

At boot, an OPTIONS screen sets the number of lives (2 to 5), continue,
the starting stage, auto fire and difficulty. In game, SELECT pauses; a
second player can join at any time with START 2.

The tool checks every ROM it builds (SHA-1). If your MAME version differs
from mine, the sound may differ very slightly: this is reported and the
game remains playable.

Command line (other systems, or options):
  python builder.py --romset path/to/inthunt.zip --bios path/to/neogeo.zip
                    --mame path/to/mame

Notice: non-commercial fan project, not affiliated with Irem or the rights
holders of In The Hunt. In The Hunt (c) Irem. The ROMs you build are for
your personal use: do not distribute them or sell repros.
adpcmtool.py: ngdevkit (c) Damien Ciabrini, LGPL-3 license (lib/).
